﻿#region

using System;

#endregion

namespace HouseHoldBudget.Core.Data
{
    public abstract class BaseDataProviderManager
    {
        #region Constructors

        protected BaseDataProviderManager(DataSettings settings)
        {
            if (settings == null)
                throw new ArgumentNullException("settings");
            Settings = settings;
        }

        #endregion

        #region Instance Properties

        protected DataSettings Settings { get; private set; }

        #endregion

        #region Instance Methods

        public abstract IDataProvider LoadDataProvider();

        #endregion
    }
}